import { NodeData } from "./NodeModel"

export interface TaskWork{
  name:string,
  taskId:string
  nodeDataList: NodeData[],
  flowData: string
}

export interface MsgData{
  type:string,
  msg:string,
  time:string,
  data:any
}

export interface TaskStatusData{
  running:boolean,
  taskWork:TaskWork
}

export interface NodeStatusData{
  id:string,
  status:string
}

export interface FlowStatusData{
  taskId:string,
  status:boolean
}

export interface FlowHistory{
  taskId: string,
  batchId: number,
  status: string,
  startTime: string,
  endTime: string,
  totalTime: string,
  branch: string,
  commitMsg: string,
  commitVersion: string,
  title: string
}